::v-deep .hidden {
  display: none !important;
  // background-color: pink !important;
}
.writeScene {
  .main {
    .mainFrom {
      height: 546px;
      .sensorTypeName,
      .sensorType,
      .imgItem,
      .deviceTypeDesc {
        position: absolute;
        top: 98px;
        left: 122px;
        height: 48px;
        ::v-deep .el-form-item__label {
          width: 168px !important;
          position: absolute;
          text-align: right;
          font-size: 16px;
          color: #333333;
        }
        // ::v-deep .el-form-item__label:before {
        //   content: '*';
        //   color: #4868ff;
        // }
        .el-input {
          position: absolute;
          left: 155px;
          padding-left: 16px;
          ::v-deep .el-input__inner {
            width: 400px;
            height: 48px;
            border-radius: 6px;
            border: 1px solid rgba(220, 220, 220, 1);
            font-size: 16px;
          }
        }
        ::v-deep .el-form-item__error {
          position: absolute;
          left: 171px;
          top: 55px;
          width: 400px;
        }
      }
      .sensorType {
        top: 178px;
      }
      .itemImg {
        position: absolute;
        top: 255px;
        height: 48px;
        width: 168px;
        text-align: right;
        left: 110px;
        font-size: 16px;
        color: #333333;
      }
      .itemImg:before {
        content: '*';
        color: #4868ff;
      }
      .imgItem {
        position: absolute;
        top: 255px;
        left: 295px;
        ::v-deep .el-upload-list__item-thumbnail {
          background-color: #f2f2f2;
        }
      }
      .deviceTypeDesc {
        top: 430px;
        ::v-deep .el-textarea__inner {
          position: absolute;
          top: -45px;
          left: 170px;
          width: 560px;
          height: 180px;
          border-radius: 6px;
          border: 1px solid rgba(220, 220, 220, 1);
          resize: none;
          outline: none;
          padding-left: 16px;
          padding-top: 13px;
          font-size: 16px;
          font-weight: 500;
          color: rgba(51, 51, 51, 1);
        }
        ::v-deep .el-textarea .el-input__count {
          position: absolute;
          left: 690px;
          top: 100px;
          width: 20px;
        }
      }
    }
    footer {
      position: relative;
      width: 100%;
      .title {
        .left {
          float: left;
          span {
            margin-left: 30px;
            margin-top: 34px;
            float: left;
            height: 18px;
            width: 4px;
            background-color: #4868ff;
          }
          p {
            margin-top: 30px;
            margin-left: 10px;
            float: left;
            height: 18px;
            font-size: 18px;
            font-weight: 500;
            color: rgba(51, 51, 51, 1);
          }
        }
        .addSensorInfo {
          margin-top: 20px;
          float: right;
          cursor: pointer;
          width: 84px;
          height: 36px;
          background: rgba(72, 104, 255, 1);
          border-radius: 18px;
          line-height: 36px;
          text-align: center;
          font-size: 14px;
          color: rgba(255, 255, 255, 1);
          margin-bottom: 24px;
          margin-right: 30px;
        }
      }

      .dataInfo {
        width: 100%;
        padding: 0 30px;
        margin-top: 30px;
        .dataHead {
          font-weight: 500;
          font-size: 14px;
          background: rgba(87, 131, 255, 0.05);
          th {
            color: rgba(51, 51, 51, 1);
            height: 60px;
            line-height: 60px;
            text-align: left;
            padding-left: 24px;
            border-bottom: solid 1px rgba(230, 230, 230, 1);
          }
        }
        .dataBody {
          tr {
            height: 64px;
            line-height: 64px;
            td {
              text-align: left;
              padding-left: 24px;
              border-bottom: 1px solid #f2f2f2;
              .write {
                font-size: 14px;
                cursor: pointer;
                font-weight: 500;
                color: rgba(72, 104, 255, 1);
                text-decoration: underline;
              }
              .delete {
                padding-left: 24px;
                font-size: 14px;
                cursor: pointer;
                font-weight: 500;
                color: #fb4646;
                text-decoration: underline;
              }
            }
          }
        }
      }
      .emptyTbody {
        height: 64px;
        width: 100%;
        margin: 0 30px;
        text-align: center;
        line-height: 64px;
        border-bottom: 1px solid #f2f2f2;
        font-size: 14px;
        color: rgba(102, 102, 102, 1);
      }
      .block {
        position: relative;
        left: 1250px;
        height: 40px;
        margin-top: 24px;
      }
      .addOne {
        position: relative;
        left: 300px;
        top: 30px;
        font-size: 12px;
        color: rgba(255, 43, 43, 1);
      }
      .determain {
        position: relative;
        height: 68px;
        .btn {
          cursor: pointer;
          width: 172px;
          height: 48px;
          background: rgba(72, 104, 255, 1);
          border-radius: 24px;
          font-size: 18px;
          color: rgba(255, 255, 255, 1);
          text-align: center;
          line-height: 48px;
          margin-top: 48px;
          margin-left: 300px;
        }
      }
    }
    .addbox {
      z-index: 999;
      width: 840px;
      position: fixed;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      height: 720px;
      background: rgba(255, 255, 255, 1);
      border-radius: 5px;
      .boxHeader {
        height: 72px;
        border-bottom: solid 1px #e6e6e6;
        p {
          float: left;
          line-height: 72px;
          font-size: 18px;
          font-weight: 500;
          color: rgba(51, 51, 51, 1);
          padding-left: 20px;
        }
        .el-icon-close {
          float: right;
          margin-right: 23px;
          cursor: pointer;
          line-height: 72px;
          font-size: 24px;
        }
      }
      .addMainBox {
        position: relative;
        height: 534px;
        border-bottom: solid 1px #e6e6e6;
        .name,
        .unit,
        .associateKey {
          position: absolute;
          top: 42px;
          left: 55px;
          ::v-deep .el-form-item__label {
            width: 168px !important;
            position: absolute;
            text-align: right;
            font-size: 16px;
            color: #333333;
          }
          ::v-deep .el-form-item__label:before {
            content: '*';
            color: #4868ff;
          }
          .el-input {
            position: absolute;
            left: 155px;
            padding-left: 16px;
            ::v-deep .el-input__inner {
              width: 400px;
              height: 48px;
              border-radius: 6px;
              border: 1px solid rgba(220, 220, 220, 1);
              font-size: 16px;
            }
          }
          ::v-deep .el-form-item__error {
            position: absolute;
            left: 175px;
            top: 50px;
            width: 400px;
          }
        }
        .unit {
          top: 122px;
          // ::v-deep .el-form-item__label:before {
          //   content: '*';
          //   color: transparent;
          // }
        }
        .associateKey {
          top: 202px;
        }
      }
      footer {
        height: 112px;
        position: relative;
        .cancel {
          cursor: pointer;
          position: absolute;
          top: 32px;
          left: 280px;
          width: 128px;
          height: 48px;
          border-radius: 28px;
          border: 2px solid rgba(72, 104, 255, 1);
          font-size: 18px;
          font-weight: 500;
          color: rgba(72, 104, 255, 1);
          line-height: 48px;
          text-align: center;
        }
        .determainAdd {
          cursor: pointer;
          position: absolute;
          top: 32px;
          right: 280px;
          width: 128px;
          height: 48px;
          background: rgba(72, 104, 255, 1);
          border-radius: 28px;
          font-size: 18px;
          font-weight: 500;
          color: rgba(255, 255, 255, 1);
          line-height: 48px;
          text-align: center;
        }
      }
    }
  }
}
